package com.qf.day05;

public class Gailv {
    public static void main(String[] args) {
        double a = 1.0d;
        for (int i = 0; i <20 ; i++) {
            a=a*0.9;
        System.out.println(a);
        }
        float b = 1.0f;
        for (int i = 0; i < 20; i++) {
            b*=0.9;
        }
            System.out.println(b);
    }
}
